home *** CD-ROM | disk | FTP | other *** search
- /*
- File: MultiPanelDialogWindow.h
- */
-
- #ifndef _MULTIPANELDIALOGWINDOW_
- #define _MULTIPANELDIALOGWINDOW_
-
- #ifndef _DIALOGWINDOW_
- #include "DialogWindow.h"
- #endif
-
-
- // Information about the dialog ID we are using.
-
-
- class TMultiPanelDialogWindow : public TDialogWindow
- {
- public:
- TMultiPanelDialogWindow(DialogTemplateID dialogTemplateID);
-
- virtual OSErr IMultiPanelDialogWindow(short defaultPanel = 1, short guideItem = 0, short panelSelectorItem = 2);
-
- virtual void ItemHit(short theItem);
-
- virtual void InitPanel(short thePanel) = 0;
- virtual void ClickInPanel(short thePanel, short theItem) = 0;
- virtual void ExitPanel(short thePanel) = 0;
-
- protected:
-
- short fOriginalCount;
- short fCurrentPanel;
- short fPanelSelectorItem;
- short fGuideItem;
-
- Str255 fGuideSearchString;
-
- };
-
- #endif
-
-